<template>
  <div>
    <div>我是根组件</div>
    <A></A>
  </div>
</template>

<script setup lang="ts">
import A from "./a.vue";
import { provide, ref } from "vue";
let flag = ref(true);
provide("flag",flag)
</script>

<style>
</style>